package com.fanpan26.source.base;

import java.util.Collections;

/**
 * @author fanpan26
 */
public class EqualsAndDengDeng {

    public static void main(String[] args) {
        String a = new String("abc");
        char aa= 'a';
        System.out.println(Character.MAX_VALUE);
        String b = "abc";
        //false
        System.out.println("a==b:"+(a==b));
        //true
        System.out.println("a.equals(b)"+a.equals(b));
    }
}
